<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/inc/head.jsp"%>
<html>
<head>
<title>满洲里运输工具单一窗口</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link id="uitheme" rel="stylesheet" type="text/css"  href="${basePath}/css/themes/default/easyui.css"  />
<link rel="stylesheet" type="text/css" href="${basePath}/css/themes/icon.css">
<script src="${basePath}/js/jquery.min.js" type="text/javascript"></script>
<script src="${basePath}/js/jquery.easyui.min.js" type="text/javascript"></script>
<script src="${basePath}/js/jquery.cookie.js" type="text/javascript"></script>
<script src="${basePath}/js/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="${basePath}/js/main.js" type="text/javascript"></script>
<script src="${basePath}/js/json2.js" type="text/javascript"></script>

<!-- 仅首页使用 -->
<link rel="stylesheet" rev="stylesheet" href="${basePath}/css/main.css" type="text/css">


<script type="text/javascript">
//获取用户的菜单信息
var userMenu = '${resList}';
var _menus = JSON.parse(userMenu);
//关闭窗口
function theme_close(){
	$('#dialog_theme').window('close');
}
//保存主题窗口
function theme_save(){
	var themeval = $('input[name="radio_theme"]:checked ').val();
	
	var oldHref = $('#uitheme').attr('href');
    var newHref = oldHref.substring(0,oldHref.indexOf('themes')) + 'themes/' + themeval + '/easyui.css';
    $('#uitheme').attr('href', newHref);

    //设置cookie值，并设置7天有效时间
    $.cookie('dhccThemeName', themeval, {
        expires : 7
    })
   	$.messager.alert("操作提示","主题切换成功,请刷新页面!");
    //关闭窗口
    $('#dialog_theme').window('close');
}

//初始主题
function initTheme(){
	var themeval=$.cookie("dhccThemeName");//获取cookie
	if(themeval!=null&&themeval!=undefined){
		var oldHref = $('#uitheme').attr('href');
	    var newHref = oldHref.substring(0,oldHref.indexOf('themes')) + 'themes/' + themeval + '/easyui.css';
	    $('#uitheme').attr('href', newHref);
	    //设置radio
	    $("input[name='radio_theme'][value='" + themeval + "']").prop("checked", "checked");
	}
}
$(function(){
	//主题切换
	initTheme();
	
	//主题切换窗口
	$('#edit_dialog_theme').click(function() {
		$('#dialog_theme').window('open');
	});
	$('#editpass').click(function() {
		$('#w').window('open');
	});
	$('#btnSave').click(function() {
		serverLogin();
	});
	$('#btnCancel').click(function() {
		$('#w').window('close');
	});
	$('#loginOut').click(function() {
		$.messager.confirm('系统提示', '您确定要退出本次登录吗?', function(r) {
			if(r){
				location.href = '${basePath}/logout.do';
			}
		});
	});
	repeatRequest();
	initNotic();
});

//创建布局--供main.js使用
function createFrame(url) {
	var s = '<iframe scrolling="auto" frameborder="0"  src="' + url + '" style="width:100%;height:100%;"></iframe>';
	return s;
}

// 修改密码
function serverLogin() {
	var $pass = $('#txtPass');//原密码
	var $newpass = $('#txtNewPass');//新密码
	var $rePass = $('#txtRePass');//重复密码
	
	if ($pass.val() == '') {
		$.messager.alert('系统提示', "请输入原密码！");
		return false;
	}
	if ($newpass.val() == '') {
		$.messager.alert('系统提示', "请输入新密码！");
		return false;
	}else if($newpass.val().length < 5){
		$.messager.alert('系统提示', "新密码最少5位！");
		return false;
	}
	if ($rePass.val() == '') {
		$.messager.alert('系统提示', "请在一次输入密码！");
		return false;
	}
	if ($newpass.val() != $rePass.val()) {
		$.messager.alert('系统提示', "两次密码不一至,请重新输入！");
		return false;
	}
	$.ajax({
        url:'${basePath}/updatePassword.do',  
        type:'post',         
        data:"password="+$pass.val()+"&newPassword="+$newpass.val(), 
        dataType:"json",        
        success:function(msg){
        	$.each(msg,function(i,n){
        		if(n.message == "undefined"){
	           		$.messager.alert('系统提示', "未知错误请联系管理员！");
        		}else if(n.message == "error"){
        			$.messager.alert('系统提示', "原密码错误！");
	            }else if(n.message == "success"){
	            	$.messager.confirm('系统提示', '恭喜，密码修改成功,请重新登录!', function(r) {
	        			if(r){
	        				location.href = '${basePath}/logout.do';
	        			}else{
	        				location.href = '${basePath}/logout.do';
	        			}
	        		});
        		}
           });
             
       	}
     });
}

//数据字典
var dicMap={};

/**
 * 数得数据字典文本
 * @param code
 */
function getDicText(code,fun){
    $.ajax({
        type:"post",
        url:"${basePath}/getDicText.do",
        data:"classCode="+code,
        dataType:"json",
        async:false,
        success:function(data){
            fun(data);
        }
    });
}
/**
 * 缓数数据字典
 * @param value
 * @param rowData
 */
function cacheDic(value,code){
    if(dicMap[code]==undefined){
        getDicText(code,function(data){
            if((typeof data=='object')&&data.constructor==Array){
                var obj={};
                $(data).each(function(i,item){
                    if(item.dataCode!="!"){
                        obj[item.dataCode]=item.dataName;
                    }
                });
                dicMap[code]=obj;
            }
        });
    }
    if(dicMap[code][value]==undefined){
        return "";
    }
    return dicMap[code][value];
}
 
/**
 * 格式化数据字典
 * @param value
 * @param rowData
 * @param rowIndex
 */
function formartDic(value,code){
    return cacheDic(value,code);
}
//定时请求通知公告获取数据
function repeatRequest(){

    //每隔3秒执行一次timelyFun方法

    window.setInterval("initNotic()",300000);

}
//初始化数据列表
function initNotic(){
	$.ajax({
        url:'${basePath}/bus/noticeDep/query.do',  
        type:'post',
        data:"isRead=0", 
        dataType:"json",
        success:function(msg){
            var noticList =  msg.rows;
            if(noticList.length > 0){
            	var talbe = document.getElementById("notic");
            	var rowNum=talbe.rows.length;
	                for (i=1;i<rowNum;i++)
	                {
	                	talbe.deleteRow(i);
	                    rowNum=rowNum-1;
	                    i=i-1;
	                }
            	for(var i=0;i<noticList.length;i++){
            		var newTR = talbe.insertRow(i+1);
            		var titleTD=newTR.insertCell(0);
            		var title = noticList[i].titel;
            		titleTD.style.cssText="width:100px;height:28px;border:none;border-buttom:1px dashed #c7e3fa;border-top:1px dashed #c7e3fa;text-decoration: none;overflow: hidden;text-align: left; ";     
            		titleTD.innerHTML = "<img src='${basePath}/images/img/harryLevel.png' style='float: left;'>  <a herf='#' onclick=showNotic('"+noticList[i].id+"') style='font-size:12px;align:left;'>"+title+"</a>";
            		var createTime = noticList[i].createTime;
            		var createTime_ = changeDateToString(createTime);
            		var cTimeTD=newTR.insertCell(1);
            		cTimeTD.innerHTML = createTime_;
            		cTimeTD.style.cssText="width:100px;height:28px;border:none;border-buttom:1px dashed #c7e3fa;border-top:1px dashed #c7e3fa;text-decoration: none;overflow: hidden;text-align: center; "; 
            	}
            }
       	}
     });
}
function changeDateToString(now) {
	var dateTime = "未知";
	if(now != ""){
		var year = now.year + 1900;
	    var month =now.month + 1;
	    var day = now.date;
	    if (month < 10) {
	        month = "0" + month;
	    }
	    if (day < 10) {
	        day = "0" + day;
	    }
	    dateTime = year+"-"+month+"-"+day;
	}
    return dateTime;
}
function initNoticList(){
	$('#noticList').datagrid({
		url:'${basePath}/bus/noticeDep/query.do',
		loadMsg:'数据装载中......',
	    width:'auto',//列表的宽度
		height:'auto',//列表的高度
		fit:true,//自动填充全屏
		nowrap: false,//数据是否显示在一行中
		fitColumns:true,//是否根据字体数收缩
	    pagination:true,//分页底部显示
	    pageList:[10,20,50],//设置分页下拉页数
	    rownumbers : true,//显示行号
		//singleSelect:true,//只能单选
		autoRowHeight:false,//自动行高
		idField : 'id',
	    columns:[[
			{field:'titel',title:'标题',width:200,align:'center',
				formatter:function(value,row,index){
					if(row.isRead == "0"){
						return "<img src='${basePath}/images/img/harryLevel.png' style='float: left;'>"+value;
					}else{
						return value;
					}
				}
			},
			{field:'userName',title:'创建人',width:100,align:'left'},
			{field:'createTime',title:'创建时间',width:200,align:'left',
				formatter:function(value,row,index){
					return changeDateToString(value);
				}
			}
		]]
	});
}
function showNotic(id){
	$("#notic_theme").window("open")
	$.ajax({
        url:'${basePath}/bus/noticeDep/query.do',  
        type:'post',
        data: "id="+id, 
        dataType:"json",
        async: false ,
        success:function(msg){
            var noticList =  msg.rows;
            if(noticList.length > 0){
            	$("#noticeId").val(noticList[0].id);
            	$("#titleH").html(noticList[0].titel);
            	var createTime = changeDateToString(noticList[0].createTime);
            	$("#content").html(noticList[0].content); 
            	$("#createTimeP").html(createTime); 
            }
       	}
     });
}

//关闭窗口
function notic_close(){
	var id = $("#noticeId").val();
	   $.ajax({
	    url:'${basePath}/bus/noticeDep/updateAndQuery.do',  
	    type:'post',
	    data: "id="+id+"&isRead=1", 
	    dataType:"json",
	    async: false ,
	    success:function(msg){
	    	  var noticList =  msg.rows;
	            if(noticList.length > 0){
	            	var talbe = document.getElementById("notic"); 
					var rowNum=talbe.rows.length;
	                for (i=1;i<rowNum;i++)
	                {
	                	talbe.deleteRow(i);
	                    rowNum=rowNum-1;
	                    i=i-1;
	                }
	            	
	            	for(var i=0;i<noticList.length;i++){
	            		var newTR = talbe.insertRow(i+1);
	            		var titleTD=newTR.insertCell(0);
	            		var title = noticList[i].titel;
	            		titleTD.style.cssText="width:100px;height:28px;border:none;border-buttom:1px dashed #c7e3fa;border-top:1px dashed #c7e3fa;text-decoration: none;overflow: hidden;text-align: left; ";     
	            		titleTD.innerHTML = "<img src='${basePath}/images/img/harryLevel.png' style='float: left;'>  <a herf='#' onclick=showNotic('"+noticList[i].id+"') style='font-size:12px;align:left;'>"+title+"</a>";
	            		var createTime = noticList[i].createTime;
	            		var createTime_ = changeDateToString(createTime);
	            		var cTimeTD=newTR.insertCell(1);
	            		cTimeTD.innerHTML = createTime_;
	            		cTimeTD.style.cssText="width:100px;height:28px;border:none;border-buttom:1px dashed #c7e3fa;border-top:1px dashed #c7e3fa;text-decoration: none;overflow: hidden;text-align: center; "; 
	            	}
	            }
	   	}
 	});   
	$('#notic_theme').window('close');
}
//关闭窗口
function notic_list_close(){
	$('#notic_list_theme').window('close');
}

function noticListShow(){
	initNoticList();
	$("#notic_list_theme").panel({title:'通知公告列表'});
	$('#notic_list_theme').window('open');
}

</script>

</head>
<body class="easyui-layout" style="overflow-y: hidden" scroll="no">
	<noscript>
		<div style="position: absolute; z-index: 100000; height: 2046px; top: 0px; left: 0px; width: 100%; background: white; text-align: center;">
			<img src="${basePath}/images/noscript.gif" alt='抱歉，请开启脚本支持！' />
		</div>
	</noscript>
	<!--  顶部内容 -->	
	<div data-options="region:'north'" border="false" style="overflow: hidden; height: 30px; background: url(${basePath}/images/layout-browser-hd-bg.gif) #7f99be repeat-x center 50%; line-height: 20px; color: #fff; font-family: Verdana, 微软雅黑, 黑体">
		<span style="float: right; padding-right: 20px;" class="head">
			欢迎 ${userName}&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#" id="edit_dialog_theme">主题切换</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#" id="editpass">修改密码</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#" id="loginOut">安全退出</a>
		</span> 
		<span style="padding-left: 20px; font-size: 16px; float: left;">
			<img src="${basePath}/images/toplogo.png" width="200" height="30" align="absmiddle" />
		</span>
	</div>
	<!--  导航内容 -->
	<div id="west" data-options="iconCls:'icon-search',hideCollapsedContent:false" region="west" split="true" title="导航菜单" style="width: 200px;">
		<div id='wnav' class="easyui-accordion" fit="true" border="false">
			
		</div>
	</div>
	<!--  中心内容 -->
	<div id="mainPanle" region="center" style="background: #eee; overflow-y: hidden">
		<div id="tabs" class="easyui-tabs" fit="true" border="false">
			<div title="首页" style="padding: 20px; overflow: hidden;width: 100%" id="home">
			<!-- 	<div class="easyui-layout" fit="true" style="width: 100%">
					<div data-options="region:'north', title:'查询条件',split:true,collapsed:false,footer:'#searchfooter'">
						<div style="padding:10px 5px 45px 20px;">
							<form id="searchForm" name="searchForm" style="margin-bottom: 0px;">
								<table class="search-table" width="100%" cellpadding="0" cellspacing="0" border="0">
									<tr>
										<td align="right" width="10%">车牌号:</td>
										<td width="70%">
											<input class="easyui-textbox" type="text" id="carNo" name="carNo"></input>
										</td>
									</tr>
								</table>
							</form>
						</div>
						<div id="searchfooter" style="text-align:right;padding: 0px 10px">
							<a href="javascript:void(0)" class="easyui-linkbutton" onclick="searchDate()"  data-options="iconCls:'icon-search',plain:true" >查询</a>
							<span class="search-btn-separator"></span>
							<a href="javascript:void(0)" class="easyui-linkbutton" onclick="cleanDate()" data-options="iconCls:'icon-cross',plain:true">重置</a>
						</div>
					</div>
					<div region="center" split="true" border="false" style="overflow: auto;width: 100%;height: auto">
						<table id="picTable" style="width:900px;" align="center" cellpadding="0" cellspacing="0">
						<tr>
								<td align="center" width="100px" height="20px"><img id="hm" class="sampleimage" alt="国检" src="${basePath}/images/flow_gif/fx-stata.jpg" jqimg=""/></td>
								<td align="center" colspan="7" width="100px" height="20px"><span style="font-size:36px;">车辆通关状态监控图</span></td>
								<td align="center" height="50px"></td>
						</tr>
							<tr>
								<td align="center" height="50px"></td>
								<td align="center" height="50px"></td>
								<td align="center"></td>
								<td align="center"></td>
								<td align="center"></td>
								<td align="center" style='border-left:.5pt solid black;border-right:.5pt solid black;border-top:.5pt solid black'><img id="hm" class="sampleimage" alt="海关" src="${basePath}/images/flow_gif/hg-done.jpg" jqimg=""/></td>
								<td align="center"></td>
								<td align="center"></td>
								<td align="center" height="50px"></td>
							</tr>
							<tr>
								<td align="center" height="50px"></td>
								<td height="50px"></td>
								<td></td>
								<td></td>
								<td></td>
								<td align="center" style='border-left:.5pt solid black;border-right:.5pt solid black'>海关</td>
								<td></td>
								<td></td>
								<td align="center" height="50px"></td>
							</tr>
							<tr>
								<td align="center" height="50px"></td>
								<td height="50px"></td>
								<td></td>
								<td></td>
								<td align="center" valign="bottom"><img id="hm" class="sampleimage" alt="国检" src="${basePath}/images/flow_gif/newcar.gif" jqimg=""/></td>
								<td align="center" style='border-left:.5pt solid black;border-right:.5pt solid black'><img id="hm" class="sampleimage" alt="国检" src="${basePath}/images/flow_gif/bj-doing.jpg" jqimg=""/></td>
								<td></td>
								<td></td>
								<td align="center" height="50px"></td>
							</tr>
							<tr>
								<td align="center" height="50px"></td>
								<td align="center" height="50px"><img id="hm" class="sampleimage" alt="终检亭" src="${basePath}/images/flow_gif/kk-done.jpg" jqimg=""/></td>
								<td align="center"><img id="hm" class="sampleimage" alt="终检亭" src="${basePath}/images/flow_gif/done.gif" jqimg=""/></td>
								<td align="center"><img id="hm" class="sampleimage" alt="旅行社" src="${basePath}/images/flow_gif/lxs-done.jpg" jqimg=""/></td>
								<td align="center"><img id="hm" class="sampleimage" alt="终检亭" src="${basePath}/images/flow_gif/doing.gif" jqimg=""/></td>
								<td align="center" style='border-left:.5pt solid black;border-right:.5pt solid black'>边检</td>
								<td align="center"><img id="hm" class="sampleimage" alt="终检亭" src="${basePath}/images/flow_gif/not.gif" jqimg=""/></td>
								<td align="center"><img id="hm" class="sampleimage" alt="南卡口" src="${basePath}/images/flow_gif/kk-not.jpg" jqimg=""/></td>
								<td align="center" height="50px"></td>
							</tr>
							<tr>
								<td align="center" height="50px"></td>
								<td align="center" height="50px">终检亭</td>
								<td align="center"></td>
								<td align="center">旅行社</td>
								<td align="center"></td>
								<td align="center" style='border-left:.5pt solid black;border-right:.5pt solid black'><img id="hm" class="sampleimage" alt="终检亭" src="${basePath}/images/flow_gif/gj-done.jpg" jqimg=""/></td>
								<td align="center"></td>
								<td align="center">南卡口</td>
								<td align="center" height="50px"></td>
							</tr>
							<tr>
								<td align="center" height="50px"></td>
								<td align="center" height="50px"></td>
								<td align="center"></td>
								<td align="center"></td>
								<td align="center"></td>
								<td align="center" style='border-left:.5pt solid black;border-right:.5pt solid black'>国检</td>
								<td align="center"></td>
								<td align="center"></td>
								<td align="center" height="50px"></td>
							</tr>
							<tr>
								<td align="center" height="50px"></td>
								<td height="50px"></td>
								<td></td>
								<td></td>
								<td></td>
								<td align="center" style='border-left:.5pt solid black;border-right:.5pt solid black'> <img id="hm" class="sampleimage" alt="口岸" src="${basePath}/images/flow_gif/ka-doing.jpg" jqimg=""/></td>
								<td></td>
								<td></td>
								<td align="center" height="50px"></td>
							</tr>
							<tr>
								<td align="center" height="50px"></td>
								<td height="50px"></td>
								<td></td>
								<td></td>
								<td></td>
								<td align="center" style='border-left:.5pt solid black;border-right:.5pt solid black;border-bottom:.5pt solid black'>口岸</td>
								<td></td>
								<td></td>
								<td align="center" height="50px"></td>
							</tr>
							<tr>
								<td align="center" height="50px"></td>
								<td height="50px"></td>
								<td></td>
								<td></td>
								<td></td>
								<td align="center">&nbsp;</td>
								<td></td>
								<td></td>
								<td align="center" height="50px"></td>
							</tr>
						</table>
					</div>
				</div> -->
			</div>
		</div>
	</div>
	<!--  通知公告 -->
	<div id="east" region="east" data-options="iconCls:'icon icon-horn',hideCollapsedContent:false,footer:'#noticfooter'"  split="true" title="通知公告" style="width: 190px;">
		<!-- <table id="notic"></table> -->
		<div class="contentDiv">
			<table id ="notic" class="notic" cellpadding="0" cellspacing="0" rules="rows" style=" border:0px dashed #c7e3fa;width:100%;">
				<tr style="background-color: #F1EFED;font-size: 14;" height="20px" style="border:0px dashed #c7e3fa;">
					<th style="font-style: normal;font-weight: normal;">标题</th>
					<th style="font-style: normal;font-weight: normal;">创建时间</th>
				</tr>
			</table>
		</div>
		<!-- 搜索按钮 -->
		<div id="noticfooter" style="text-align:right;padding: 0px 10px">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="noticListShow()"  data-options="plain:true" >更多</a>
		</div>
	</div>
	<!--  底部内容 -->	
	<div region="south" class="easyui-layout"  border="true" style="height: 30px;">
		<div class="footer">Copyright ©2016</div>
	</div> 		
	
	<!--修改密码窗口-->
	<div id="w" class="easyui-dialog" title="修改密码" style="width:300px;height:200px;padding:5px; background: #fafafa;" 
	data-options="modal:true,closed:true,iconCls:'icon-save'">
		<div class="easyui-layout" fit="true">
			<div region="center" border="false"
				style="padding: 5px;10px;10px;10px; background: #fff; border: 1px solid #ccc;">
				<table cellpadding=3>
					<tr>
						<td>原密码：</td>
						<td><input id="txtPass" type="Password" class="txt01" />
						</td>
					</tr>
					<tr>
						<td>新密码：</td>
						<td><input id="txtNewPass" type="Password" class="txt01" />
						</td>
					</tr>
					<tr>
						<td>确认密码：</td>
						<td><input id="txtRePass" type="Password" class="txt01" />
						</td>
					</tr>
				</table>
			</div>
			<div data-options="region:'south',border:'false'"  style="text-align: right; height: 35px; line-height: 30px;padding: 5px,35px">
				<a id="btnSave" class="easyui-linkbutton" data-options="iconCls:'icon-page_save',plain:true" href="javascript:void(0)"> 确定</a>
				<span class="search-btn-separator"></span>
				<a id="btnCancel" class="easyui-linkbutton" data-options="iconCls:'icon-cross',plain:true" href="javascript:void(0)">取消</a>
			</div>
		</div>
	</div>
	
	<!--通知公告 内容start-->
	<div id="notic_theme" class="easyui-dialog" title="通知公告" data-options="modal:true,closed:true,iconCls:'icon icon-horn',footer:'#notic_theme_dialog'" style="width:500px;height:260px;padding:10px">
		<div  style="padding:10px 10px 10px 15px;">
			<input type="hidden" id = "noticeId" value=""/>
			<h3 id="titleH" style="text-align: center;"></h3>
   			<div id="content"></div>
            <span id="createTimeP" style="text-align: right;float: right;"></span>
		</div>
		<div id="notic_theme_dialog" style="text-align:right;padding: 0px 10px">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="notic_close()" data-options="iconCls:'icon-cross',plain:true">关闭</a>
		</div>
	</div>
	<!--通知公告 内容end-->
	
	<!-- 通知公告弹出对话框 start-->
	<div id="notic_list_theme" class="easyui-window" style="width:700px;height:400px;padding:5px; background: #fafafa;" 
		data-options="modal:true,closed:true,iconCls:'icon icon-horn',footer:'#notic_list_dialog'">
		<div class="easyui-layout" fit="true">
			<div region="center" border="false">
				<table id="noticList" class="easyui-datagrid"  style="width:700px;height:260px">
				</table>
			</div>
			<div id="notic_list_dialog" style="text-align:right;padding: 0px 10px">
				<a href="javascript:void(0)" class="easyui-linkbutton" onclick="notic_list_close()" data-options="iconCls:'icon-cross',plain:true">关闭</a>
			</div>
		</div>
	</div>
	<!--通知公告弹出对话框 end-->
	
	<!--修改主题风格 start-->
	<div id="dialog_theme" class="easyui-dialog" title="主题切换" data-options="modal:true,closed:true,iconCls:'icon-save',footer:'#dialog_theme_dialog'" style="width:500px;height:160px;padding:10px">
		<div  style="padding:10px 10px 10px 15px;">
			<table style="width: 100%;">
				<tr><td align="left"><label><input type="radio" name="radio_theme" value="default" checked><font size="10px">&nbsp;默认</font></input></label></td>
				<td align="left"><label><input type="radio" name="radio_theme" value="bootstrap" >&nbsp;深邃</input></label></td>
				<td align="left"><label><input type="radio" name="radio_theme" value="gray">&nbsp;经典</input></label></td>
				<td align="left"><label><input type="radio" name="radio_theme" value="ui-sunny">&nbsp;暗金</input></label></td></tr>
				<tr><td align="left"><label><input type="radio" name="radio_theme" value="metro-red"><font size="10px">&nbsp;嫣红</font></input></label></td>
				<td align="left"><label><input type="radio" name="radio_theme" value="metro" >&nbsp;时尚</input></label></td>
				<td align="left"><label><input type="radio" name="radio_theme" value="material">&nbsp;素雅</input></label></td>
				<td align="left"><label><input type="radio" name="radio_theme" value="metro-green">&nbsp;清新</input></label></td></tr>
			</table>
		</div>
		<div id="dialog_theme_dialog" style="text-align:right;padding: 0px 10px">
		<a href="javascript:void(0)" class="easyui-linkbutton" onclick="theme_save()"  data-options="iconCls:'icon-page_save',plain:true" >保存</a>
		<span class="search-btn-separator"></span>
		<a href="javascript:void(0)" class="easyui-linkbutton" onclick="theme_close()" data-options="iconCls:'icon-cross',plain:true">关闭</a>
		</div>
	</div>
	<!--修改主题风格 end-->
	
	<div id="mm" class="easyui-menu" style="width: 150px;">
		<div id="mm-tabupdate">刷新</div>
		<div class="menu-sep"></div>
		<div id="mm-tabclose">关闭</div>
		<div id="mm-tabcloseall">全部关闭</div>
		<div id="mm-tabcloseother">除此之外全部关闭</div>
		<div class="menu-sep"></div>
		<div id="mm-tabcloseright">当前页右侧全部关闭</div>
		<div id="mm-tabcloseleft">当前页左侧全部关闭</div>
		<div class="menu-sep"></div>
		<div id="mm-exit">退出</div>
	</div>
</body>

</html>
